Click any tag below to further narrow down your results
Links
The article argues that agent harnesses are collapsing large tool catalogs into a single exec(code) tool, where the model writes a script that chains actions in a sandbox instead of calling tools one turn at a time. It covers why this helps and what it changes about how tools need to be designed.
- Standard tool calling is one action per turn, so chained workflows burn round-trips and context; Code Mode lets the model script dependent steps, loops, and parallel calls in one pass.
- Only the final summary returns to the context window; intermediate payloads stay in the sandbox, which the author ties to context savings and cost reductions (Factory reported a 15% drop in model spend and a +3.5 point Terminal-Bench gain after switching Droid to Code Mode).
- Typed interfaces, a credential and policy bridge, and persistent state outside the prompt make a JS or Python sandbox more practical than bash, though existing CLIs and skills may need rework to fit.
The article introduces CUGA, IBM’s open-source agent harness that handles planning, execution loops, tool calls and state management so you only define tools and prompts. It walks through a FastAPI “cloud advisor” example and shows how two dozen single-file apps share the same skeleton for quick setup, governance and scaling.
- IBM's CUGA harness lets you build agentic apps by defining only tools and prompts—planning, execution, error handling, and state management are all handled by the harness.
- The cuga-apps repo has two dozen working single-file FastAPI demos, each under 100 lines of code, covering things like a movie recommender and an IBM Cloud architecture advisor.
- Tools follow a strict success/failure envelope ({"ok": true/false, ...}) so the planner can distinguish recoverable errors from undeclared failures.
- Built-in Fast/Balanced/Accurate modes tune cost vs. latency without code changes, and the reflection step keeps multi-step runs reliable even with smaller open-weight models like gpt-oss-120b.